From a089f6e2cd69091bb158d7c46df32c9984ed88d7 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Thu, 4 Jan 2007 16:21:12 +0000 Subject: [PATCH] [XEND] Only use DevController to generate SXP for running domains. Otherwise the previous patch breaks managed domains in xm list. Signed-off-by: Alastair Tse --- tools/python/xen/xend/XendConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index d8bb63494c..92af7b4239 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -859,7 +859,7 @@ class XendConfig(dict): found = False # figure if there is a dev controller is valid and running - if domain: + if domain and domain.getDomid(): try: controller = domain.getDeviceController(cls) configs = controller.configurations() -- 2.30.2